package model;

public class Food {
    private int id;
    private String name;
    private String Explain;
    private String img;
    private float price;
    private int num;
    private int businessId;

    public Food(int id, String name, String explain, String img, float price, int num, int businessId) {
        this.id = id;
        this.name = name;
        Explain = explain;
        this.img = img;
        this.price = price;
        this.num = num;
        this.businessId = businessId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExplain() {
        return Explain;
    }

    public void setExplain(String explain) {
        Explain = explain;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getBusinessId() {
        return businessId;
    }

    public void setBusinessId(int businessId) {
        this.businessId = businessId;
    }
}
